using UnityEngine;
using UnityEngine.UI;

namespace ProjectMG
{
    public class UINationalInformationFormView: MonoBehaviour
    {
		[SerializeField]
		private Slider m_PopularFeelings;
		[SerializeField]
		private Slider m_TroopsMorale;
		[SerializeField]
		private Image m_Map;

		public Slider PopularFeelings
		{
			get
			{
				if(!m_PopularFeelings)
				{
					m_PopularFeelings = gameObject.transform.Find("Offset/_PopularFeelings").GetComponent<Slider>();
				}
				return m_PopularFeelings;
			}
		}
		public Slider TroopsMorale
		{
			get
			{
				if(!m_TroopsMorale)
				{
					m_TroopsMorale = gameObject.transform.Find("Offset/_TroopsMorale").GetComponent<Slider>();
				}
				return m_TroopsMorale;
			}
		}
		public Image Map
		{
			get
			{
				if(!m_Map)
				{
					m_Map = gameObject.transform.Find("Offset/_Map").GetComponent<Image>();
				}
				return m_Map;
			}
		}

    }
}